package zouran.shounewsspringboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import zouran.shounewsspringboot.entity.News;

import java.util.List;

/**
 * @author zouran
 * createDate：2023/5/31  17:31
 */
@Mapper
public interface NewsMapper extends BaseMapper<News> {
    public List<News> getAllNewsByAuthor(String author);
}
